import React from "react";
import { ReactChildrenViteApp } from "./views/ReactChildrenViteApp";
import { ReactChildrenApp } from "./views/ReactChildrenApp";
import { Vue3ChildrenApp } from "./views/Vue3ChildrenApp";
import { VueChildrenApp } from "./views/VueChildrenApp";
import { Home } from "./views/home";

export const elements: any = {
	"/": <Home />,
	"/react-children-app": <ReactChildrenApp />,
	"/react-children-vite-app": <ReactChildrenViteApp />,
	"/vue-children-app": <VueChildrenApp />,
	"/vue3-children-app": <Vue3ChildrenApp />,
};

export const titles: any = {
	"/": "首页",
	"/react-children-app": "React子项目",
	"/react-children-vite-app": "Vite打包React子项目",
	"/vue-children-app": "vue2子项目",
	"/vue3-children-app": "vue3子项目",
};
